<!doctype html>
<html>
<head>
<meta name="Generator" content="ECSHOP v2.7.3" />
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>添米商城-开业盛典</title>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['ectouch_themes']; ?>/css/bootstrap.min.css">
<link href="<?php echo $this->_var['ectouch_themes']; ?>/images/touch-icon.png" rel="apple-touch-icon-precomposed" />
<link href="<?php echo $this->_var['ectouch_themes']; ?>/images/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link href="<?php echo $this->_var['ectouch_themes']; ?>/ectouch.css" rel="stylesheet" type="text/css" />
<?php if ($this->_var['newTime'] == 0): ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['ectouch_themes']; ?>/css/goods-before.css">
<?php else: ?>
<link rel="stylesheet" type="text/css" href="<?php echo $this->_var['ectouch_themes']; ?>/css/goods-living.css">
<?php endif; ?>
</head>
<body ontouchstart>
<header id="header">
  <div class="header_l header_return"> <a class="ico_10" href="cat_all.php"> 返回 </a> </div>
  <h1> 秒杀专场 </h1>
  <div class="header_r header_search"> <a class="ico_15" href="ectouch.php?act=share&content=<?php echo $this->_var['goods']['goods_name']; ?>&pic=<?php echo $this->_var['goods']['original_img']; ?>"> 分享 </a> </div>
</header>
<div class="main">
	<div class="top">
    	距活动<span class="span1">2</span>天<span class="span2">2</span>时<span class="span3">2</span>分<span class="span4">2</span>秒
    </div>
    <div class="main-info">
	<?php $_from = $this->_var['goods_list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'goods');$this->_foreach['goods_list'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['goods_list']['total'] > 0):
    foreach ($_from AS $this->_var['key'] => $this->_var['goods']):
        $this->_foreach['goods_list']['iteration']++;
?>
    	<div class="part">
        	<div class="goods"><img src="<?php echo $this->_var['goods']['goods_thumb']; ?>" class="img-responsive"></div>
            <div class="name">
            	<p><?php echo $this->_var['goods']['goods_name']; ?></p>
            </div>
            <div class="part-bottom">
            	<div class="pb-left">
                	<span>¥</span>
                    <span><?php echo $this->_var['goods']['promote_price']; ?></span>
                    <span>¥<?php echo $this->_var['goods']['shop_price']; ?></span>
                </div>
                <div class="pb-right">
                	<a href="goods.php?id=<?php echo $this->_var['goods']['goods_id']; ?>">敬请期待</a>
                </div>
            </div>
        </div>
	<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </div>
</div>
<script src="<?php echo $this->_var['ectouch_themes']; ?>/js/jquery-1.12.4.min.js"></script>
<script src="<?php echo $this->_var['ectouch_themes']; ?>/js/index.js"></script>
<script>
function GetRTime(){
	var EndTime= new Date('2017/06/28 10:00:00');
	var NowTime = new Date();
	var t =EndTime.getTime() - NowTime.getTime();
	var d=0;
	var h=0;
	var m=0;
	var s=0;
	if(t>=0){
	  d=Math.floor(t/1000/60/60/24);
	  h=Math.floor(t/1000/60/60%24);
	  m=Math.floor(t/1000/60%60);
	  s=Math.floor(t/1000%60);
	}
	$(".span1").html(d);
	$(".span2").html(h);
	$(".span3").html(m);
	$(".span4").html(s);
}
setInterval(GetRTime,0);
</script>
<?php echo $this->fetch('library/page_footer.lbi'); ?>
</body>
</html>
